﻿using System;
using System.Linq;
using CccNh.Domain;

namespace CccNh
{
    public class Program
    {
        static void Main(string[] args)
        {
            var entities = typeof (User).Assembly.GetTypes().Where(t => t.Namespace == typeof (User).Namespace).ToList();
            var connectionString = @"server=.\sqlexpress;database=example;trusted_connection=true";
            var config = NhBootstrapper.GetConfiguration(connectionString, entities);
            Console.ReadLine();
        }
    }
}
